package com.jpa;

import com.jpa.gen.Gen;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * @Autor: songfei
 * @Description:
 * @Date: Created in 18:16 2024/8/30
 **/
@SpringBootApplication()
public class  GenCodeApplication {
    public static void main(String[] args) {
        final ConfigurableApplicationContext run = SpringApplication.run(GenCodeApplication.class, args);
        final Gen gen = run.getBean(Gen.class);
        gen.genCode();
    }
}
